<template>
  <div class="mainForm" style="width: 90%;margin: auto">
    <div style="line-height: 50px; font-size: 30px; color: dodgerblue; margin-top: 20px;">中小企业数智生态问卷调查</div>
    <div style="background: #eeeeee;padding: 20px;margin-top: 30px">
      <div style="text-indent:32px; width: 1050px;margin: auto;background: #ffffff;padding: 20px;margin-bottom: 20px;color: #888888;line-height: 26px">为落实习近平总书记“激发涌现更多专精特新企业”的指示精神。更加全面、客观地评价本市专精特新中小企业发展情况，促进政府精准施策、推动环境不断优化。南京市工业和信息化局委托中国中小企业发展促进中心组织开展本次调查。您填报的所有信息我们将严格保密，感谢您的参与和支持！</div>
      <div style="width: 1050px;margin: auto;background: #ffffff;padding: 20px;">
        <el-form
          ref="allForm"
          :model="allForm"
          :rules="rules"
          label-width="205px"
        >
          <div class="title2">企业基本情况</div>
          <el-form-item ref="a01" label="企业名称" prop="a01">
            <el-input v-model="allForm.a01" placeholder="请填写企业名称" />
          </el-form-item>
          <el-form-item ref="areaSelect1" label="企业注册地" prop="areaSelect1">
            <area-select
              :area-num="allForm.provCode"
              :area-name="allForm.provName"
              :city-num="allForm.cityCode"
              :dist-num="allForm.distCode"
              placeholder="请选择企业注册地"
              @getAreaSelect="getAreaSelect2"
            />
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="a04" class="el220" label="注册时间" prop="a04">
                <el-date-picker
                  v-model="allForm.a04"
                  type="date"
                  format="yyyy-MM-dd"
                  value-format="yyyy-MM-dd"
                  :clearable="false"
                  placeholder="选择日期"
                />
              </el-form-item>
            </el-col>

          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="a05" class="el220" label="企业员工数" prop="a05">
                <el-input v-model="allForm.a05" placeholder="请填写企业员工数" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="a06" class="el220" label="本科及以上员工占比%" prop="a06">
                <el-input v-model="allForm.a06" placeholder="本科及以上员工占比%" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="a07" class="el220" label="企业生产的主要产品或服务" prop="a07">
                <el-input v-model="allForm.a07" placeholder="请填写企业生产的主要产品或服务" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="a08" class="el220" label="企业从事特定细分市场时间" prop="a08">
                <el-input v-model="allForm.a08" placeholder="请填写时长（年）" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="a09" class="el220" label="企业性质" prop="a09">
                <el-select v-model="allForm.a09" placeholder="请选择">
                  <el-option
                    v-for="(item,i) in industrialTypeList"
                    :key="i"
                    :label="item.industrialTypeName"
                    :value="item.industrialTypeCode"
                  />
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="a10" class="el220" label="企业规模" prop="a10">
                <el-select v-model="allForm.a10" placeholder="请选择">
                  <el-option label="大型" value="0" />
                  <el-option label="中型" value="1" />
                  <el-option label="小型" value="2" />
                  <el-option label="微型" value="3" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="a11" class="el220" label="企业所属国民经济行业类别" prop="a11">
                <el-select v-model="allForm.a11" placeholder="请选择">
                  <el-option label="装备制造" value="0" />
                  <el-option label="石油化工" value="1" />
                  <el-option label="生物医药" value="2" />
                  <el-option label="轻工建材" value="3" />
                  <el-option label="纺织服装" value="4" />
                  <el-option label="信息技术" value="5" />
                  <el-option label="节能环保" value="6" />
                  <el-option label="交通运输" value="7" />
                  <el-option label="文教娱乐" value="8" />
                  <el-option label="农林牧渔" value="9" />
                  <el-option label="食品加工" value="10" />
                  <el-option label="科学研究及工程服务" value="11" />
                  <el-option label="其他" value="12" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="a12" class="zdcp" label="是否已经被评为专精特新企业（可多选）" prop="a12">
            <el-checkbox-group v-model="allForm.a12">
              <el-checkbox label="被评为制造业单项冠军企业" />
              <el-checkbox label="被评为国家级专精特新“小巨人”企业" />
              <el-checkbox label="被评为省级专精特新中小企业" />
              <el-checkbox label="符合创新型中小企业条件" />
              <el-checkbox label="不了解认定政策和条件，未申报" />
              <el-checkbox label="自评符合认定标准，已申报，暂未评上" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="a13" class="el220" label="企业上年度营收规模" prop="a13">
                <el-select v-model="allForm.a13" placeholder="请选择">
                  <el-option label="1000万以下" value="0" />
                  <el-option label="1000万-3000万" value="1" />
                  <el-option label="3000万-5000万" value="2" />
                  <el-option label="5000万-1亿" value="3" />
                  <el-option label="1亿-5亿" value="4" />
                  <el-option label="5亿以上" value="5" />
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="a14" class="el220" label="企业最初的创业类型" prop="a14">
                <el-select v-model="allForm.a14" placeholder="请选择">
                  <el-option label="从属于制造业的企业出来独立创业" value="0" />
                  <el-option label="从属于非制造业的大企业出来独立创业" value="1" />
                  <el-option label="作为现有企业的分公司或相关公司创业" value="2" />
                  <el-option label="大学等研究机构的研究人员创业" value="3" />
                  <el-option label="无特定业务经验而独自创业" value="4" />
                  <el-option label="其他" value="5" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="a15" class="zdcp" label="企业目前的核心竞争力（可多选）" prop="a15">
            <el-checkbox-group v-model="allForm.a15">
              <el-checkbox label="技术手段先进" />
              <el-checkbox label="生产制造链完整" />
              <el-checkbox label="营销方式新颖" />
              <el-checkbox label="服务体系完备" />
              <el-checkbox label="质量标准较高" />
              <el-checkbox label="成本控制较好" />
              <el-checkbox label="人才优势" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="a16" class="zdcp" label="与产业链上下游企业在哪些方面开展合作（可多选）" prop="a16">
            <el-checkbox-group v-model="allForm.a16">
              <el-checkbox label="产品研发和改进" />
              <el-checkbox label="技术攻关、科技创新" />
              <el-checkbox label="产品配套" />
              <el-checkbox label="数字化赋能" />
              <el-checkbox label="人才培训" />
              <el-checkbox label="融资服务" />
              <el-checkbox label="共享平台" />
              <el-checkbox label="暂未与上下游企业开展合作" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="a17" class="zdcp" label="中小企业专精特新发展中面临的主要困难是（多选,可选三项）" prop="a17">
            <el-checkbox-group v-model="allForm.a17">
              <el-checkbox label="产业链供应链自主可控能力弱，国外公司垄断核心技术，难以开展重点领域关键核心技术产品攻关" />
              <el-checkbox label="缺少高技术人才，技术创新能力不足" />
              <el-checkbox label="技术研发周期长，企业压力大" />
              <el-checkbox label="企业数字化水平较低，数据利用效果差" />
              <el-checkbox label="资金短缺，融资困难" />
              <el-checkbox label="知识产权保护存在困难" />
              <el-checkbox label="市场拓展面临瓶颈" />
              <el-checkbox label="各类成本上涨，企业利润下降" />
              <el-checkbox label="企业管理水平较低" />
              <el-checkbox label="市场准入限制" />
              <el-checkbox label="绿色环保壁垒" />
              <el-checkbox label="大企业垄断市场或者技术" />
              <el-checkbox label="企业家自身原因" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <!-- 2 -->
          <div class="title2">创新发展</div>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b01" class="zyh" label="企业拥有的有效发明专利数(个)" prop="b01">
                <el-input v-model="allForm.b01" placeholder="请填写" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b02" class="zyh" label="其中自主研发（个）" prop="b02">
                <el-input v-model="allForm.b02" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b03" class="zyh" label="上年度企业研发投入强度(%)" prop="b03">
                <el-input v-model="allForm.b03" placeholder="请填写" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b04" class="zyh" label="企业目前的国家级研发机构（个）" prop="b04">
                <el-input v-model="allForm.b04" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b05" class="zyh" label="省级(个)" prop="b05">
                <el-input v-model="allForm.b05" placeholder="请填写" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b06" class="zyh" label="自建（个）" prop="b06">
                <el-input v-model="allForm.b06" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b07" class="zyh" label="主导或参与国际标准制定(个)" prop="b07">
                <el-input v-model="allForm.b07" placeholder="请填写" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b08" class="zyh" label="主导或参与国家标准制定（个）" prop="b08">
                <el-input v-model="allForm.b08" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b09" class="zyh" label="主导或参与行业标准制定(个)" prop="b09">
                <el-input v-model="allForm.b09" placeholder="请填写" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b10" class="zyh" label="参与课题研究" prop="b10">
                <el-select v-model="allForm.b10" placeholder="请选择">
                  <el-option label="国家级" value="0" />
                  <el-option label="省级" value="1" />
                  <el-option label="市级" value="2" />
                  <el-option label="否" value="3" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b11" class="zyh" label="示范项目/重大项目" prop="b11">
                <el-select v-model="allForm.b11" placeholder="请选择">
                  <el-option label="国家级" value="0" />
                  <el-option label="省级" value="1" />
                  <el-option label="市级" value="2" />
                  <el-option label="否" value="3" />
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b12" class="zyh" label="拥有技术创新平台" prop="b12">
                <el-select v-model="allForm.b12" placeholder="请选择">
                  <el-option label="国家级" value="0" />
                  <el-option label="省级" value="1" />
                  <el-option label="市级" value="2" />
                  <el-option label="否" value="3" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="b13" class="zyh" label="企业“专精特新”技术或产品开发的难点是（150字以内）" prop="b13">
            <el-input v-model="allForm.b13" class="area81" type="textarea" placeholder="请填写" />
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b14" class="zyh" label="企业核心技术产品主要获得途径" prop="b14">
                <el-select v-model="allForm.b14" placeholder="请选择">
                  <el-option label="独立研发" value="0" />
                  <el-option label="与大企业合作研发" value="1" />
                  <el-option label="与其他中小企业合作研发" value="2" />
                  <el-option label="与科研机构或高校合作研发" value="3" />
                  <el-option label="第三方机构组织合作研发" value="4" />
                  <el-option label="购买服务" value="5" />
                  <el-option label="其他" value="6" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="b15" class="zdcp" label="企业开展关键核心技术研发活动的动力来源" prop="b15">
            <el-checkbox-group v-model="allForm.b15">
              <el-checkbox label="为攻克行业领域尚未解决的难题（填补行业空白）" />
              <el-checkbox label="基于对未来技术趋势的研判（抢占未来赛道）" />
              <el-checkbox label="应对激烈的市场竞争" />
              <el-checkbox label="打破垄断，解决“卡脖子”问题" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b16" class="zyh" label="企业目前的主要创新活动为" prop="b16">
                <el-select v-model="allForm.b16" placeholder="请选择">
                  <el-option label="开发新产品" value="0" />
                  <el-option label="实施工艺技术改造" value="1" />
                  <el-option label="组织管理模式改革" value="2" />
                  <el-option label="商业模式或者营销手段创新" value="3" />
                  <el-option label="开拓新的业务领域" value="4" />
                  <el-option label="其他" value="5" />
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b17" class="zyh" label="企业开展创新活动的主要资金来源" prop="b17">
                <el-select v-model="allForm.b17" placeholder="请选择">
                  <el-option label="政府补贴" value="0" />
                  <el-option label="银行贷款" value="1" />
                  <el-option label="风险投资" value="2" />
                  <el-option label="上市融资" value="3" />
                  <el-option label="知识产权质押融资" value="4" />
                  <el-option label="企业自筹" value="5" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="b18" class="zyh" label="企业是否利用国家或地区公共技术研发平台进行研发" prop="b18">
                <el-select v-model="allForm.b18" placeholder="请选择">
                  <el-option label="是" value="0" />
                  <el-option label="不知道有公共技术研发平台" value="1" />
                  <el-option label="使用条件过于苛刻" value="2" />
                  <el-option label="使用经济成本过高" value="3" />
                  <el-option label="还没有使用的需求" value="4" />
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="b19" class="zyh" label="企业是否接受过大企业的技术指导或与大企业进行合作" prop="b19">
                <el-select v-model="allForm.b19" placeholder="请选择">
                  <el-option label="是" value="0" />
                  <el-option label="否" value="1" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="b20" class="zdcp" label="制约专精特新中小企业创新发展的主要因素" prop="b20">
            <el-checkbox-group v-model="allForm.b20">
              <el-checkbox label="难以找到适合的研究合作单位" />
              <el-checkbox label="企业内部难以找到匹配的管理人员和高端技术人才" />
              <el-checkbox label="技术攻关成本高，难以负担" />
              <el-checkbox label="缺乏基础共性的研发平台、设备、实验环境以及验证环境" />
              <el-checkbox label="产业链供应链上下游协同和联合攻关较少" />
              <el-checkbox label="知识产权保护能力不足" />
              <el-checkbox label="行业协会的作用发挥不足" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="b21" class="zdcp" label="是否开展校企协同创新" prop="b21">
            <el-radio-group v-model="allForm.b21">
              <el-radio label="0">否</el-radio>
              <el-radio label="1">是</el-radio>
            </el-radio-group>
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='1'" ref="b22" class="zyh" label="合作院校" prop="b22">
            <el-input v-model="allForm.b22" placeholder="请填写" />
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='1'" ref="b23" class="zdcp" label="合作方向" prop="b23">
            <el-checkbox-group v-model="allForm.b23">
              <el-checkbox label="人才“双聘”" />
              <el-checkbox label="技术攻关" />
              <el-checkbox label="设备共享" />
              <el-checkbox label="专利开放" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='1'" ref="b24" class="zyhabc" label="具体内容及成效" prop="b24">
            <el-input v-model="allForm.b24" class="area81" type="textarea" placeholder="请填写" />
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='1'" ref="b25" class="zyh" label="合同金额（人才“双聘”除外）万元" prop="b25">
            <el-input v-model="allForm.b25" placeholder="请填写" />
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='0'" ref="b26" class="zyh" label="意向院校" prop="b26">
            <el-input v-model="allForm.b26" placeholder="请填写" />
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='0'" ref="b27" class="zdcp" label="合作方向" prop="b27">
            <el-checkbox-group v-model="allForm.b27">
              <el-checkbox label="人才“双聘”" />
              <el-checkbox label="技术攻关" />
              <el-checkbox label="设备共享" />
              <el-checkbox label="专利开放" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item v-if="allForm.b21 ==='0'" ref="b28" class="zyhabc" label="具体需求" prop="b28">
            <el-input v-model="allForm.b28" class="area81" type="textarea" placeholder="请填写" />
          </el-form-item>
          <div class="title2">数字化转型</div>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="c01" class="zyh" label="中小企业数字化水平测评等级" prop="c01">
                <el-select v-model="allForm.c01" placeholder="请选择">
                  <el-option label="一级（20-40分）" value="0" />
                  <el-option label="二级（40-60分）" value="1" />
                  <el-option label="三级（60-80分）" value="2" />
                  <el-option label="四级（80分以上）" value="3" />
                  <el-option label="未进行测评" value="4" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="c02" class="zdcp" label="企业管理数字化现状" prop="c02">
            <el-checkbox-group v-model="allForm.c02">
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="实现会计电算化" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="建有办公自动化系统（OA）" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="拥有企业仓储物流管理系统" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="使用SRM（供应商管理信息系统）" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="使用PLM（产品全生命周期管理）" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="使用CRM（客户关系管理信息系统）" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="使用HRM（人力资源管理信息系统）" />
              <el-checkbox v-if="allForm.c02.indexOf('以上暂未使用') === -1" label="使用ERP（企业资源规划信息系统）" />
              <el-checkbox label="以上暂未使用" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="c03" class="zdcp" label="企业研发设计和生产制造数字化现状" prop="c03">
            <el-checkbox-group v-model="allForm.c03">
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="使用CAD（计算机辅助设计）" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="使用CAM（计算机辅助制造）" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="使用CAI（计算机辅助检测）" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="使用CAPP（计算机辅助生产计划）" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="使用数控机床" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="实现装备自动化" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="建有数字化车间" />
              <el-checkbox v-if="allForm.c03.indexOf('以上暂未使用') === -1" label="使用 MES（生产制造执行管理信息系统）" />
              <el-checkbox label="以上暂未使用" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="c04" class="zdcp" label="企业信息网络和系统建设现状" prop="c04">
            <el-checkbox-group v-model="allForm.c04">
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="建有企业门户网站" />
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="建有局域网" />
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="租用DDN专线" />
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="建有数据中心" />
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="企业上云（私有云）" />
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="企业上云（利用公有云）" />
              <el-checkbox v-if="allForm.c04.indexOf('以上暂未使用') === -1" label="5G" />
              <el-checkbox label="以上暂未使用" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="c05" class="zyh" label="是否有专门负责数字化转型部门" prop="c05">
                <el-select v-model="allForm.c05" placeholder="请选择">
                  <el-option label="是" value="0" />
                  <el-option label="否" value="1" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="c06" class="zdcp" label="企业在数字化转型过程中遇到的最大难点是" prop="c06">
            <el-checkbox-group v-model="allForm.c06">
              <el-checkbox label="数字人才缺乏" />
              <el-checkbox label="数字化转型成本高" />
              <el-checkbox label="对相关政策缺乏了解" />
              <el-checkbox label="中小企业对数字化转型的认知尚浅" />
              <el-checkbox label="缺乏对数字化转型标杆企业案例学习的机会和场景" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="c07" class="zdcp" label="企业在数字化场景打造方面存在哪些困难" prop="c07">
            <el-checkbox-group v-model="allForm.c07">
              <el-checkbox label="数据权属不明确，面临数据监管问题" />
              <el-checkbox label="区域性数据共享开放不足，应用场景拓展困难" />
              <el-checkbox label="数据获取成本高，产品盈利能力低" />
              <el-checkbox label="数据质量不高，产品用户体验差" />
              <el-checkbox label="前端数据采集改造成本高，客户不愿用" />
              <el-checkbox label="模型不可解释，客户不敢用" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="c08" class="zdcp" label="企业对电子商务平台功能的使用情况" prop="c08">
            <el-checkbox-group v-model="allForm.c08">
              <el-checkbox label="供求信息的发布、检索" />
              <el-checkbox label="企业商铺的建立和管理" />
              <el-checkbox label="获得国际市场信息" />
              <el-checkbox label="供应链拓展和供应商评价" />
              <el-checkbox label="市场调研和分析" />
              <el-checkbox label="广告等营销服务" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="c09" class="zdcp" label="企业希望电子商务平台提供哪些深度数字服务" prop="c09">
            <el-checkbox-group v-model="allForm.c09">
              <el-checkbox label="市场情报的分析和决策支持" />
              <el-checkbox label="销售信息与产品开发业务流程的融合" />
              <el-checkbox label="行业垂直信息分析" />
              <el-checkbox label="买家信息及分析" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <div class="title2">融资服务</div>
          <el-form-item ref="d01" class="zdcp" label="企业在资金方面的主要需求" prop="d01">
            <el-checkbox-group v-model="allForm.d01">
              <el-checkbox label="拓宽融资对接渠道" />
              <el-checkbox label="提高融资担保额度" />
              <el-checkbox label="提供优惠利率贷款、贷款贴息" />
              <el-checkbox label="政府产业专项基金支持" />
              <el-checkbox label="财政补贴或税收减免" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="d02" class="zdcp" label="企业资金的主要来源" prop="d02">
            <el-checkbox-group v-model="allForm.d02">
              <el-checkbox label="自有资金（包括股东入股、借款等）" />
              <el-checkbox label="股权融资（如产业基金、上市等）" />
              <el-checkbox label="债权融资" />
              <el-checkbox label="政策性补贴或专项资金" />
              <el-checkbox label="商业银行" />
              <el-checkbox label="民间借贷" />
              <el-checkbox label="创投机构" />
              <el-checkbox label="小额贷款公司" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="d03" class="zdcp" label="企业获得财政资金支持的情况" prop="d03">
            <el-checkbox-group v-model="allForm.d03">
              <el-checkbox label="政府补贴" />
              <el-checkbox label="奖励" />
              <el-checkbox label="政策性贷款" />
              <el-checkbox label="政策性担保" />
              <el-checkbox label="政策性投资" />
              <el-checkbox label="专项扶持基金情况" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="d04" class="zyh" label="企业融资需求" prop="d04">
                <el-select v-model="allForm.d04" placeholder="请选择">
                  <el-option label="500万元以下" value="0" />
                  <el-option label="500-1000万元" value="1" />
                  <el-option label="1000-3000万元" value="2" />
                  <el-option label="3000万元以上" value="3" />
                  <el-option label="无需求" value="4" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="d05" class="zdcp" label="企业融资主要用于下面哪些事项" prop="d05">
            <el-checkbox-group v-model="allForm.d05">
              <el-checkbox label="日常生产经营" />
              <el-checkbox label="扩大生产" />
              <el-checkbox label="研发及技术改造" />
              <el-checkbox label="海外分支机构运营及投资并购" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="d06" class="zdcp" label="企业计划融资方式" prop="d06">
            <el-checkbox-group v-model="allForm.d06">
              <el-checkbox label="银行贷款" />
              <el-checkbox label="股权融资" />
              <el-checkbox label="债券融资" />
              <el-checkbox label="上市融资" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="d07" class="zyh" label="企业股权融资目前处于什么阶段" prop="d07">
                <el-select v-model="allForm.d07" placeholder="请选择">
                  <el-option label="尚未对外进行股权融资" value="0" />
                  <el-option label="天使轮" value="1" />
                  <el-option label="A轮" value="2" />
                  <el-option label="B轮" value="3" />
                  <el-option label="C轮及以上" value="4" />
                  <el-option label="已进入上市辅导阶段" value="5" />
                  <el-option label="已上市" value="6" />
                </el-select>
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="d08" class="zyh" label="是否有债权融资需求，需求金额" prop="d08">
                <el-select v-model="allForm.d08" placeholder="请选择">
                  <el-option label="无资金需求" value="0" />
                  <el-option label="0-1000万" value="1" />
                  <el-option label="1000万-3000万" value="2" />
                  <el-option label="3000万以上" value="3" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="d09" class="zyh" label="企业目前的融资成本大概是多少" prop="d09">
                <el-select v-model="allForm.d09" placeholder="请选择">
                  <el-option label="无融资行为" value="0" />
                  <el-option label="4%以下" value="1" />
                  <el-option label="4%-6%之间" value="2" />
                  <el-option label="6%-8%之间" value="3" />
                  <el-option label="8%-10%之间" value="4" />
                  <el-option label="10%-12%之间" value="5" />
                  <el-option label="12%以上" value="6" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="d10" class="zdcp" label="企业在银行贷款过程中遇到的问题" prop="d10">
            <el-checkbox-group v-model="allForm.d10">
              <el-checkbox label="银行提供的贷款额度不足" />
              <el-checkbox label="没有充足的抵押物" />
              <el-checkbox label="没有合适的担保人" />
              <el-checkbox label="银行或者融资担保机构服务意识差" />
              <el-checkbox label="贷款利率和费用高，无法承受" />
              <el-checkbox label="贷款办理手续繁琐" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="d11" class="zyh" label="最近一年来，从当地银行借款的难易程度有没有变化" prop="d11">
                <el-select v-model="allForm.d11" placeholder="请选择">
                  <el-option label="更容易，利率更低" value="0" />
                  <el-option label="没有什么显著变化" value="1" />
                  <el-option label="更困难，利率更高" value="2" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="d12" class="zdcp" label="造成融资难的原因有哪些主要方面" prop="d12">
            <el-checkbox-group v-model="allForm.d12">
              <el-checkbox label="企业自身财务状况欠佳，不具备良好的信用条件" />
              <el-checkbox label="金融机构贷款门槛高、利率高" />
              <el-checkbox label="金融机构对企业类型存在歧视" />
              <el-checkbox label="政府扶持力度不够" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <div class="title2">人力资源</div>
          <el-form-item ref="e01" class="zdcp" label="企业的人才团队具有哪些优势" prop="e01">
            <el-checkbox-group v-model="allForm.e01">
              <el-checkbox label="有经验丰富的连续创业者" />
              <el-checkbox label="有相关行业十年以上工作经验的从业者" />
              <el-checkbox label="有科学家、学科带头人、千人/万人计划的专家" />
              <el-checkbox label="有能够广泛链接各方资源的市场团队" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e02" class="zdcp" label="企业目前急需的人才类型为" prop="e02">
            <el-checkbox-group v-model="allForm.e02">
              <el-checkbox label="高级技术人才" />
              <el-checkbox label="中高层管理人才" />
              <el-checkbox label="中层技术骨干" />
              <el-checkbox label="专业技术工人" />
              <el-checkbox label="市场开拓人员" />
              <el-checkbox label="工业设计人员" />
              <el-checkbox label="跨行业/领域的复合型人才" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e03" class="zdcp" label="企业在人才引培方面面临的困难" prop="e03">
            <el-checkbox-group v-model="allForm.e03">
              <el-checkbox label="人才政策与其他城市相比不具吸引力" />
              <el-checkbox label="人才成长周期较长" />
              <el-checkbox label="薪资不具竞争力" />
              <el-checkbox label="人才流失严重" />
              <el-checkbox label="本地高层次人才缺乏，具体为：中高级管理人员、市场拓展人员、专业技术人员、跨行业/领域的复合型人才" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e04" class="zdcp" label="企业人才的来源是" prop="e04">
            <el-checkbox-group v-model="allForm.e04">
              <el-checkbox label="到学校专场招聘或参加学校大型招聘会" />
              <el-checkbox label="参加社会上大型供需见面会" />
              <el-checkbox label="人才市场招聘" />
              <el-checkbox label="猎头或其他人推荐介绍" />
              <el-checkbox label="在互联网、报纸等媒体发布招聘信息" />
              <el-checkbox label="校企合作" />
              <el-checkbox label="企业内部培养" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e05" class="zdcp" label="企业希望政府在人才招引培育方面采取哪些措施" prop="e05">
            <el-checkbox-group v-model="allForm.e05">
              <el-checkbox label="提供保障性住房、子女就读、就业等公共服务" />
              <el-checkbox label="定期开展免费技能培训" />
              <el-checkbox label="对提升技能给予激励奖励" />
              <el-checkbox label="完善生活配套设施" />
              <el-checkbox label="进一步完善人才优惠政策" />
              <el-checkbox label="鼓励校企合作，提高人才培养针对性" />
              <el-checkbox label="对企业新招聘人才给予社保减免等政策优惠" />
              <el-checkbox label="政府牵头开展大型引才活动" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e06" class="zdcp" label="企业是否愿意与职业院校开展校企合作共同培养技能型人才" prop="e06">
            <el-radio-group v-model="allForm.e06">
              <el-radio label="0">非常愿意</el-radio>
              <el-radio label="1">愿意</el-radio>
              <el-radio label="2">不愿意</el-radio>
            </el-radio-group>
            <el-checkbox-group v-if="allForm.e06 ==='0' || allForm.e06 === '1'" v-model="allForm.e07">
              <el-checkbox label="专业设置" />
              <el-checkbox label="人才培养方案的制定" />
              <el-checkbox label="专业课程教学内容的确定" />
              <el-checkbox label="提供兼职教师参与学校实训教学活动" />
              <el-checkbox label="接受学生在单位实训、顶岗实习" />
              <el-checkbox label="为职业院校教师提高实践技能提供岗位" />
              <el-checkbox label="为学校提供教育教学资源，包括场地、设备等" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e08" class="zdcp" label="如果参与校企合作共同培养人才，企业愿意采用的合作模式" prop="e08">
            <el-checkbox-group v-model="allForm.e08">
              <el-checkbox label="“订单班”" />
              <el-checkbox label="现代学徒制" />
              <el-checkbox label="产业学院" />
              <el-checkbox label="混合所有制" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="e09" class="zdcp" label="在校企合作中企业希望政府能够采取的行为或希望享受到的优惠政策" prop="e09">
            <el-checkbox-group v-model="allForm.e09">
              <el-checkbox label="单位用于教育的费用可计入生产成本或减免税金" />
              <el-checkbox label="员工职业培训费用可以得到政府补贴" />
              <el-checkbox label="设立国家或地方政府校企合作专项资金，用以校企合作方面开支" />
              <el-checkbox label="设立国家或地方政府校企合作贡献奖，表彰校企合作优秀单位或个人" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <div class="title2">市场开拓</div>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="f01" class="zyh" label="主导产品的国内占有率（%)" prop="f01">
                <el-input v-model="allForm.f01" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="f02" class="zyh" label="在国内主要销往省、市（个）" prop="f02">
                <el-input v-model="allForm.f02" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item ref="f03" class="zyh" label="请列举前5位省市名称" prop="f03">
                <el-input v-model="allForm.f03" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="f04" class="zyh" label="企业国际业务占比（%）" prop="f04">
                <el-input v-model="allForm.f04" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="f05" class="zyh" label="主导产品的国外市场占有率（%）" prop="f05">
                <el-input v-model="allForm.f05" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="f06" class="zyh" label="主要销往国家和地区" prop="f06">
                <el-input v-model="allForm.f06" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="f07" class="zdcp" label="企业在国外建有机构" prop="f07">
            <el-checkbox-group v-model="allForm.f07">
              <el-checkbox label="研发 " />
              <el-checkbox label="生产" />
              <el-checkbox label="营销" />
              <el-checkbox label="无" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="f08" class="zyh" label="企业现在为大型企业提供配套数量" prop="f08">
                <el-input v-model="allForm.f08" placeholder="请填写" />
              </el-form-item>
            </el-col>
            <el-col :span="12">
              <el-form-item ref="f09" class="zyh" label="这些大企业都分布在国家和地区" prop="f09">
                <el-input v-model="allForm.f09" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="24">
              <el-form-item ref="f10" class="zyh" label="列举三个知名度较大的大企业名称" prop="f10">
                <el-input v-model="allForm.f10" placeholder="请填写" />
              </el-form-item>
            </el-col>
          </el-row>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="f11" class="zyh" label="企业的市场策略" prop="f11">
                <el-select v-model="allForm.f11" placeholder="请选择">
                  <el-option label="深耕大企业不感兴趣的市场" value="0" />
                  <el-option label="聚焦主流市场以外的边缘市场" value="1" />
                  <el-option label="为龙头企业/链主企业做配套" value="2" />
                  <el-option label="面向公共服务领域，积极参与政府采购" value="3" />
                  <el-option label="更低的价格、更高的性能" value="4" />
                  <el-option label="优先推出市场上没有的产品" value="5" />
                  <el-option label="拥有专门的客户渠道" value="6" />
                  <el-option label="其他" value="7" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="f12" class="zdcp" label="企业市场拓展的主要方式是" prop="f12">
            <el-checkbox-group v-model="allForm.f12">
              <el-checkbox label="参加展会" />
              <el-checkbox label="上下游合作伙伴介绍" />
              <el-checkbox label="销售人员、公司管理层的个人资源" />
              <el-checkbox label="政府举办的供需对接会" />
              <el-checkbox label="广泛寻找机会" />
              <el-checkbox label="客户自己找上门" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f13" class="zdcp" label="企业在市场拓展方面面临的挑战" prop="f13">
            <el-checkbox-group v-model="allForm.f13">
              <el-checkbox label="所在细分领域市场需求有限" />
              <el-checkbox label="缺乏进入新市场的门路" />
              <el-checkbox label="面临市场准入或产业政策限制" />
              <el-checkbox label="龙头企业控制市场终端" />
              <el-checkbox label="本地应用场景释放不足" />
              <el-checkbox label="缺乏市场拓展人才" />
              <el-checkbox label="企业/产品知名度不够，市场接受度不高" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f14" class="zdcp" label="企业营销数字化发展现状" prop="f14">
            <el-checkbox-group v-model="allForm.f14">
              <el-checkbox label="自建电子商务平台" />
              <el-checkbox label="使用供应商电子商务平台" />
              <el-checkbox label="使用下游客户电子商务平台、公司管理层的个人资源" />
              <el-checkbox label="使用第三方电子商务平台" />
            </el-checkbox-group>
          </el-form-item>
          <el-row>
            <el-col :span="12">
              <el-form-item ref="f15" class="zyh" label="近三年来自电商渠道的销售额占整体收入比例" prop="f15">
                <el-select v-model="allForm.f15" placeholder="请选择">
                  <el-option label="80%-100%" value="0" />
                  <el-option label="60%-80%" value="1" />
                  <el-option label="40%-60%" value="2" />
                  <el-option label="20%-40%" value="3" />
                  <el-option label="0-20%" value="4" />
                </el-select>
              </el-form-item>
            </el-col>
          </el-row>
          <el-form-item ref="f16" class="zdcp" label="企业未开展国际业务的原因" prop="f16">
            <el-checkbox-group v-model="allForm.f16">
              <el-checkbox label="没有业务需求" />
              <el-checkbox label="想开展，但不了解国际市场" />
              <el-checkbox label="想开展，但是没有合适的国际化人才" />
              <el-checkbox label="目前国内市场机会大于国际市场机会" />
              <el-checkbox label="产品暂时达不到国际市场的要求（例如，国际认证等）" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f17" class="zdcp" label="企业国际业务主要形式" prop="f17">
            <el-checkbox-group v-model="allForm.f17">
              <el-checkbox label="进出口贸易" />
              <el-checkbox label="技术许可" />
              <el-checkbox label="品牌特许经营" />
              <el-checkbox label="跨国并购" />
              <el-checkbox label="实现对外资本投资" />
              <el-checkbox label="建有海外研发机构" />
              <el-checkbox label="境外设立全资销售公司" />
              <el-checkbox label="建有海外生产制造基地（独资、合资）" />
              <el-checkbox label="引进海外高端人才" />
              <el-checkbox label="海外采购上游材料" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f18" class="zdcp" label="相比疫情前，企业国际业务面临的主要困难" prop="f18">
            <el-checkbox-group v-model="allForm.f18">
              <el-checkbox label="技术管制" />
              <el-checkbox label="国际物流、人员流动限制、不畅" />
              <el-checkbox label="关税壁垒，包括反倾销等" />
              <el-checkbox label="非关税贸易壁垒" />
              <el-checkbox label="原材料成本上涨" />
              <el-checkbox label="汇率波动风险很大" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f19" class="zdcp" label="未来3年内拟部署的国际合作业务有，主要包括以下形式" prop="f19">
            <el-checkbox-group v-model="allForm.f19">
              <el-checkbox label="没有国际化方面的计划" />
              <el-checkbox label="拟建立海外销售机构" />
              <el-checkbox label="拟成立海外售后服务机构" />
              <el-checkbox label="拟与下游客户或者主机厂配套实现海外销售" />
              <el-checkbox label="拟委托外贸公司开展海外销售" />
              <el-checkbox label="拟自建电子商务平台实现海外销售" />
              <el-checkbox label="拟借助国内第三方电子商务平台实现海外销售" />
              <el-checkbox label="拟通过海外营销网络实现海外销售" />
              <el-checkbox label="拟通过参加国际、国内展会实现海外销售" />
              <el-checkbox label="拟借助国内龙头企业承揽海外工程实现海外销售" />
              <el-checkbox label="拟通过“一带一路”建设或大型国际合作实现海外销售" />
              <el-checkbox label="其他" />
              <el-input v-if="allForm.f19.indexOf('其他') > -1" v-model="allForm.f20" placeholder="请填写" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f21" class="zdcp" label="企业国际化过程中遇到的主要困难和问题" prop="f21">
            <el-checkbox-group v-model="allForm.f21">
              <el-checkbox label="缺乏国际化人才" />
              <el-checkbox label="不了解销售目标地区和国家的经济、法律、市场情况" />
              <el-checkbox label="缺乏海外销售渠道" />
              <el-checkbox label="没有能力做好售后服务" />
              <el-checkbox label="国内金融机构对企业国际化支撑不足" />
              <el-checkbox label="通关程序复杂、成本高" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="f22" class="zdcp" label="企业认为现有各类服务中小企业国际化的公共平台和机构存在的问题是" prop="f22">
            <el-checkbox-group v-model="allForm.f22">
              <el-checkbox label="平台仅提供了简单的数字信息，公益性服务数字化功能较弱" />
              <el-checkbox label="平台有效国际链接少，未能帮助企业国际化发展" />
              <el-checkbox label="业务数字化赋能功能弱，未能形成产业数据库" />
              <el-checkbox label="提供公益性服务的人员队伍比较有限，服务内容相对传统" />
              <el-checkbox label="公共平台缺乏企业数字化赋能系统培训，中小企业“不会用”" />
            </el-checkbox-group>
          </el-form-item>
          <div class="title2">意见建议</div>
          <el-form-item ref="h01" class="zdcp" label="您认为一个普通的小企业转型为“专精特新”企业，哪些因素很重要(多选，可选三项)" prop="h01">
            <el-checkbox-group v-model="allForm.h01">
              <el-checkbox label="企业家战略眼光" />
              <el-checkbox label="有自己独特的技术和产品" />
              <el-checkbox label="资金较为充分" />
              <el-checkbox label="享受国家政策资助或补贴" />
              <el-checkbox label="有健全的管理体制" />
              <el-checkbox label="采用数字化手段" />
              <el-checkbox label="有企业需要的人才" />
              <el-checkbox label="稳定的客户渠道" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="h02" class="zdcp" label="专精特新中小企业的服务需求主要是(多选，可选三项)" prop="h02">
            <el-checkbox-group v-model="allForm.h02">
              <el-checkbox label="政策服务（含政策宣介、资金补贴等）" />
              <el-checkbox label="创新与技术服务（含技术研发、检验检测、知识产权、成果转化、绿色发展等）" />
              <el-checkbox label="大中小企业融通发展" />
              <el-checkbox label="知识产权专利服务" />
              <el-checkbox label="数字化赋能服务" />
              <el-checkbox label="融资对接服务" />
              <el-checkbox label="工业设计服务" />
              <el-checkbox label="管理咨询服务" />
              <el-checkbox label="市场开拓服务" />
              <el-checkbox label="人才引培服务" />
              <el-checkbox label="法律维权服务" />
              <el-checkbox label="其他" />
            </el-checkbox-group>
          </el-form-item>
          <el-form-item ref="h03" class="zyhabc" label="您认为数字化转型是否是企业成长为专精特新企业的必经之路？在企业数字化转型方面有哪些建议？" prop="h03">
            <el-input v-model="allForm.h03" class="area81" type="textarea" placeholder="请填写" />
          </el-form-item>
          <el-form-item ref="h04" class="zyhabc" label="您觉得可持续发展方面的绿色低碳转型，对贵公司而言是机会还是挑战？具体表现在哪方面？" prop="h04">
            <el-input v-model="allForm.h04" class="area81" type="textarea" placeholder="请填写" />
          </el-form-item>
          <el-form-item ref="h05" class="zyhabc" label="其他意见或建议" prop="h05">
            <el-input v-model="allForm.h05" class="area81" type="textarea" placeholder="请填写" />
          </el-form-item>
          <el-form-item class="shangxia">
            <el-button type="primary" @click="submitFormtSave()">暂存</el-button>
            <el-button type="primary" @click="submitFormtemporary('allForm')">提交</el-button>
          </el-form-item>
          <el-form-item class="subRight" />
        </el-form>
      </div>
    </div>
    <div style="margin: 30px auto;">
      <div style="text-align: center;">如遇到无法提交，验证不通过“请填写”时，点暂存按钮后刷新页面重新填写出现“请填写”的项，再点提交按钮</div>
    </div>
  </div>
</template>

<script>
import { getIndustry, getAreasOfExpertise, getStationType, getScaleType, getlevelType, getIndustrialType } from '@/utils/dictionary'
import AreaSelect from '@/components/AreaSelect'
import { questionnaireAdd, questionnaireFindSave, questionnaireSave } from '@/api/questionnaire'
export default {
  name: 'QuestionnaireAdd',
  components: {
    // eslint-disable-next-line vue/no-unused-components
    AreaSelect
  },
  data() {
    const validateAreaSelect1 = (rule, value, callback) => {
      if (!this.allForm.areaSelect1) {
        return callback(new Error('请选择地区'))
      }
      callback()
    }
    const validateA06 = (rule, value, callback) => {
      const regex = /^(?:-?(?:[1-9]\d*(?:\.\d+)?|0(?:\.\d{1,})?|0))$/
      if (!value) {
        return callback(new Error('请填写'))
      } else if (value > 100 || value < 0) {
        return callback(new Error('不得小于0或者大于100'))
      } else if (!regex.test(value)) {
        callback(new Error('请填写数字格式'))
      } else if (value.length > 6) {
        return callback(new Error('最多6个字符'))
      }
      callback()
    }
    const validateF01 = (rule, value, callback) => {
      const regex = /^(?:-?(?:[1-9]\d*(?:\.\d+)?|0(?:\.\d{1,})?|0))$/
      if (!value) {
        return callback(new Error('请选择'))
      } else if (value > 100 || value < 0) {
        return callback(new Error('不得小于0或者大于100'))
      } else if (!regex.test(value)) {
        callback(new Error('请填写数字格式'))
      } else if (value.length > 6) {
        return callback(new Error('最多6个字符'))
      }
      callback()
    }
    const validateF04 = (rule, value, callback) => {
      const regex = /^(?:-?(?:[1-9]\d*(?:\.\d+)?|0(?:\.\d{1,})?|0))$/
      if (!value) {
        return callback(new Error('请选择'))
      } else if (value > 100 || value < 0) {
        return callback(new Error('不得小于0或者大于100'))
      } else if (!regex.test(value)) {
        callback(new Error('请填写数字格式'))
      } else if (value.length > 6) {
        return callback(new Error('最多6个字符'))
      }
      callback()
    }
    const validateF05 = (rule, value, callback) => {
      const regex = /^(?:-?(?:[1-9]\d*(?:\.\d+)?|0(?:\.\d{1,})?|0))$/
      if (!value) {
        return callback(new Error('请选择'))
      } else if (value > 100 || value < 0) {
        return callback(new Error('不得小于0或者大于100'))
      } else if (!regex.test(value)) {
        callback(new Error('请填写数字格式'))
      } else if (value.length > 6) {
        return callback(new Error('最多6个字符'))
      }
      callback()
    }
    const validateF19 = (rule, value, callback) => {
      console.log()
      if (this.allForm.f19.length === 0) {
        return callback(new Error('请选择'))
      } else if (this.allForm.f19.indexOf('其他') > -1 && !this.allForm.f20) {
        return callback(new Error('请填写'))
      }
      callback()
    }
    const validateA17 = (rule, value, callback) => {
      if (!value) {
        return callback(new Error('请选择'))
      } else if (value.length > 3) {
        return callback(new Error('最多可选三项'))
      }
      callback()
    }
    const validateB03 = (rule, value, callback) => {
      const regex = /^(?:-?(?:[1-9]\d*(?:\.\d+)?|0(?:\.\d{1,})?|0))$/
      if (!value) {
        return callback(new Error('请填写'))
      } else if (value > 100 || value < 0) {
        return callback(new Error('不得小于0或者大于100'))
      } else if (!regex.test(value)) {
        callback(new Error('请填写数字格式'))
      } else if (value.length > 6) {
        return callback(new Error('最多6个字符'))
      }
      callback()
    }
    const validateB25 = (rule, value, callback) => {
      const regex = /^(?:-?(?:[1-9]\d*(?:\.\d+)?|0(?:\.\d{1,})?|0))$/
      if (!value) {
        return callback(new Error('请填写'))
      } else if (!regex.test(value)) {
        callback(new Error('请填写数字格式'))
      } else if (value.length > 14) {
        return callback(new Error('最多14个字符'))
      }
      callback()
    }
    const validateH01 = (rule, value, callback) => {
      if (this.allForm.h01.length === 0) {
        return callback(new Error('请选择'))
      } else if (this.allForm.h01.length > 3) {
        return callback(new Error('最多可选三项'))
      }
      callback()
    }
    const validateH02 = (rule, value, callback) => {
      if (this.allForm.h02.length === 0) {
        return callback(new Error('请选择'))
      } else if (this.allForm.h02.length > 3) {
        return callback(new Error('最多可选三项'))
      }
      callback()
    }
    return {
      loading: false,
      accept: false,
      centerDialogVisible: false,
      allForm: {
        a01: '',
        a02: '',
        a03: '',
        a04: '',
        a05: '',
        a06: '',
        a07: '',
        a08: '',
        a09: '',
        a10: '',
        a11: '',
        a12: [],
        a13: '',
        a14: '',
        a15: [],
        a16: [],
        a17: [],
        b01: '',
        b02: '',
        b03: '',
        b04: '',
        b05: '',
        b06: '',
        b07: '',
        b08: '',
        b09: '',
        b10: '',
        b11: '',
        b12: '',
        b13: '',
        b14: '',
        b15: [],
        b16: '',
        b17: '',
        b18: '',
        b19: '',
        b20: [],
        b21: '',
        b22: '',
        b23: [],
        b24: '',
        b25: '',
        b26: '',
        b27: [],
        c01: '',
        c02: [],
        c03: [],
        c04: [],
        c05: '',
        c06: [],
        c07: [],
        c08: [],
        c09: [],
        d01: [],
        d02: [],
        d03: [],
        d04: '',
        d05: [],
        d06: [],
        d07: '',
        d08: '',
        d09: '',
        d10: [],
        d11: '',
        d12: [],
        e01: [],
        e02: [],
        e03: [],
        e04: [],
        e05: [],
        e06: '',
        e07: [],
        e08: [],
        e09: [],
        f01: '',
        f02: '',
        f03: '',
        f04: '',
        f05: '',
        f06: '',
        f07: [],
        f08: '',
        f09: '',
        f10: '',
        f11: '',
        f12: [],
        f13: [],
        f14: [],
        f15: '',
        f16: [],
        f17: [],
        f18: [],
        f19: [],
        f20: '',
        f21: [],
        f22: [],
        g01: '',
        g02: '',
        g03: '',
        g04: '',
        g05: '',
        g06: '',
        g07: '',
        g08: '',
        g09: '',
        g10: '',
        g11: '',
        g12: '',
        g13: '',
        g14: '',
        g15: '',
        g16: '',
        g17: '',
        g18: '',
        g19: '',
        g20: '',
        g21: '',
        g22: '',
        g23: '',
        g24: '',
        g25: [],
        g26: '',
        h01: [],
        h02: [],
        h03: '',
        h04: '',
        h05: ''
      },
      rules: {
        a01: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 50, message: '最多50个字符', trigger: 'change' }
        ],
        areaSelect1: [
          { required: true, trigger: 'change', validator: validateAreaSelect1 }
        ],
        a04: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        a05: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 10, message: '最多10个字符', trigger: 'change' }
        ],
        a06: [
          { required: true, trigger: 'change', validator: validateA06 }
        ],
        a07: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 50, message: '最多50个字符', trigger: 'change' }
        ],
        a08: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        a09: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        a10: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        a11: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        a12: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        a13: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        a14: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        a15: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        a16: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        a17: [
          { required: true, trigger: 'change', validator: validateA17 }
        ],
        b01: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b02: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b03: [
          { required: true, trigger: 'change', validator: validateB03 }
        ],
        b04: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b05: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b06: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b07: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b08: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b09: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        b10: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b11: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b12: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b13: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 150, message: '最多150个字符', trigger: 'change' }
        ],
        b14: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b15: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        b16: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b17: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b18: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b19: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b20: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        b21: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b22: [
          { max: 100, message: '最多100个字符', trigger: 'change' }
        ],
        b23: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b24: [
          { max: 200, message: '最多200个字符', trigger: 'change' }
        ],
        b25: [
          { required: true, trigger: 'change', validator: validateB25 }
        ],
        b26: [
          { max: 100, message: '最多100个字符', trigger: 'change' }
        ],
        b27: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        b28: [
          { max: 200, message: '最多200个字符', trigger: 'change' }
        ],
        c01: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        c02: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        c03: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        c04: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        c05: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        c06: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        c07: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        c08: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        c09: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d01: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d02: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d03: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d04: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        d05: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d06: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d07: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        d08: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        d09: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        d10: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        d11: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        d12: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e01: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e02: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e03: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e04: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e05: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e06: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        e08: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        e09: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f01: [
          { required: true, trigger: 'change', validator: validateF01 }
        ],
        f02: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 5, message: '最多5个字符', trigger: 'change' }
        ],
        f03: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 150, message: '最多150个字符', trigger: 'change' }
        ],
        f04: [
          { required: true, trigger: 'change', validator: validateF04 }
        ],
        f05: [
          { required: true, trigger: 'change', validator: validateF05 }
        ],
        f06: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 150, message: '最多150个字符', trigger: 'change' }
        ],
        f07: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f08: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 8, message: '最多8个字符', trigger: 'change' }
        ],
        f09: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 150, message: '最多150个字符', trigger: 'change' }
        ],
        f10: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 150, message: '最多150个字符', trigger: 'change' }
        ],
        f11: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        f12: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f13: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f14: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f15: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        f16: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f17: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f18: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f19: [
          { required: true, trigger: 'change', validator: validateF19 }
        ],
        f20: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        f21: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        f22: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        g01: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g02: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g03: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g04: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g05: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g06: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g07: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g08: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g09: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g10: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g11: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g12: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g13: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g14: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g15: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g16: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g17: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g18: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g19: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g20: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g21: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g22: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g23: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g24: [
          { required: true, message: '请选择', trigger: 'change' }
        ],
        g25: [
          { type: 'array', required: true, message: '请选择', trigger: 'change' }
        ],
        g26: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 2000, message: '最多2000个字符', trigger: 'change' }
        ],
        h01: [
          { required: true, trigger: 'change', validator: validateH01 }
        ],
        h02: [
          { required: true, trigger: 'change', validator: validateH02 }
        ],
        h03: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 2000, message: '最多2000个字符', trigger: 'change' }
        ],
        h04: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 2000, message: '最多2000个字符', trigger: 'change' }
        ],
        h05: [
          { required: true, message: '请填写', trigger: 'change' },
          { max: 2000, message: '最多2000个字符', trigger: 'change' }
        ]
      },
      industryList: getIndustry(),
      areasOfExpertiseList: getAreasOfExpertise(),
      stationTypeList: getStationType(),
      levelTypeList: getlevelType(),
      scaleTypeList: getScaleType(),
      industrialTypeList: getIndustrialType(),
      userInfoForm: [],
      productTypeName: []
    }
  },
  created() {
    // this.getDate()
    questionnaireFindSave().then(response => {
      if (response.result === 1) {
        this.allForm = response.data
        this.$set(this.allForm, 'areaSelect1', [])
        this.$set(this.allForm.areaSelect1, 'areaCode', response.data.provCode)
        this.$set(this.allForm.areaSelect1, 'areaName', response.data.provName)
        this.$set(this.allForm.areaSelect1, 'cityCode', response.data.cityCode)
        this.$set(this.allForm.areaSelect1, 'cityName', response.data.cityName)
        this.$set(this.allForm.areaSelect1, 'distCode', response.data.distCode)
        this.$set(this.allForm.areaSelect1, 'distName', response.data.distName)
      } else if (response.result === 2) {
        // this.allForm = response.data
        this.allForm.a01 = response.data.a01
        this.$set(this.allForm, 'areaSelect1', [])
        this.$set(this.allForm.areaSelect1, 'areaCode', response.data.provCode)
        this.$set(this.allForm.areaSelect1, 'areaName', response.data.provName)
        this.$set(this.allForm.areaSelect1, 'cityCode', response.data.cityCode)
        this.$set(this.allForm.areaSelect1, 'cityName', response.data.cityName)
        this.$set(this.allForm.areaSelect1, 'distCode', response.data.distCode)
        this.$set(this.allForm.areaSelect1, 'distName', response.data.distName)
        this.allForm.a04 = response.data.a04
        this.allForm.a05 = response.data.a05
        this.allForm.a10 = response.data.a10
      } else if (response.result === 3) {
        this.$router.push('/base/update')
      }
    })
    // this.allForm = JSON.parse(allForm)
  },
  methods: {
    submitFormtemporary(form) {
      const that = this
      if (this.allForm.c04.indexOf('以上暂未使用') !== -1) {
        this.allForm.c04 = ['以上暂未使用']
      }
      if (this.allForm.c03.indexOf('以上暂未使用') !== -1) {
        this.allForm.c03 = ['以上暂未使用']
      }
      if (this.allForm.c02.indexOf('以上暂未使用') !== -1) {
        this.allForm.c02 = ['以上暂未使用']
      }
      this.$refs[form].validate((valid, object) => {
        console.log(valid)
        if (valid) {
          this.allForm.a02 = this.allForm.areaSelect1.areaCode
          this.allForm.a03 = this.allForm.areaSelect1.cityCode
          this.loading = true
          questionnaireAdd(that.allForm).then(response => {
            console.log(response)
            if (response.result === 0) {
              this.$message({
                message: response.msg, type: 'error'
              })
            }
            if (response.result === 1) {
              that.$message({
                message: '提交成功', type: 'success'
              })
              this.$router.push('/questionnaire/complete')
            } else {
              that.$message({
                message: '提交失败', type: 'warning'
              })
            }
            this.loading = false
          }).catch(() => {
            this.loading = false
            this.$message({
              message: '提交失败', type: 'warning'
            })
          })
        } else {
          console.log(1)
          const str = []
          for (const key in object) {
            object[key].map((item) => {
              str.push(item.message)
            })
            let dom = this.$refs[Object.keys(object)[0]]
            if (Object.prototype.toString.call(dom) !== '[object Object]') {
              dom = dom[0]
              break // 结束语句并跳出语句，进行下个语句执行
            }
            // 定位代码
            dom.$el.scrollIntoView({
              block: 'center',
              behavior: 'smooth'
            })
          }
          // 页面提示未通过校验字段项，并以逗号分隔
          this.$message.error(str[0])
        }
      })
    },
    submitForm(form) {
      this.$router.push('/additionalForm')
    },
    submitFormPrevious() {
      this.$router.push('/entGeneralInformation')
    },
    resetForm(form) {
      this.$refs.allForm.resetFields()
    },
    changeProductTypeCode(item) {
      this.productTypeName = this.$refs['cascaderAddr'].getCheckedNodes()[0].label
      console.log(this.productTypeName)
    },
    getAreaSelect2(msg) { // msg就是传过来的数据了  这只是个形参  名字可以随意
      this.allForm.areaSelect1 = msg// 然后将数据赋值给chindVal
    },
    handleInput2(obj) {
      const t = obj.target.value.charAt(0)
      obj.target.value = obj.target.value.replace(/[^\d.]/g, '')
      obj.target.value = obj.target.value.replace(/^\./g, '')
      obj.target.value = obj.target.value.replace(/\.{2,}/g, '')
      if (t === '-') {
        obj.target.value = '-' + obj.target.value
      }
    },
    submitFormtSave() {
      const that = this
      questionnaireSave(this.allForm).then(response => {
        if (response.result === 1) {
          that.$message({
            message: '保存成功', type: 'success'
          })
        }
      })
    }
  }
}
</script>
<style>
.workstation h3{
  margin-top: 40px;
}
.workstation .el-textarea__inner {
  height: 400px !important;
}

.workstation .el-date-editor.el-input {
  width: 100% !important;
}

.workstation .el-select {
  width: 100% !important;
}

.workstation .el-dialog--center .el-dialog__body {
  height: 440px !important;
  overflow: auto !important;
}

.workstation .el-dialog {
  margin-top: 1vh !important;
}

.workstation .el-dialog__header {
  background: #154271;
}

.workstation .el-dialog__header .el-dialog__title {
  color: #ffffff;
}

.workstation .el-dialog__close {
  color: #ffffff !important;
}

.workstation .checkbottom .el-checkbox__input {
  margin-top: -38px !important;
}

</style>
<style scoped>
.title2 {
  line-height: 40px;
  font-size: 20px;
  color: darkgray;
  border-bottom: 1px #cccccc solid;
  margin-bottom: 20px;
}
</style>
<style>
.mainForm .el-form-item__label{
  /*width: 140px !important;*/
  text-align: left !important;
  background: #409eff;
  color: #ffffff;
  padding-left: 10px;
}
.mainForm .el260 .el-input{
  width: 260px !important;
}
.mainForm .el260 .el-form-item__label{
  margin-right: 5px !important;
}
.mainForm .el220 .el-input{
  width: 220px !important;
}
.zyh .el-form-item__label{
  width: 250px!important;
}
.zyh .el-form-item__content{
  margin-left: 250px !important;
  margin-right: 10px;
}
.zyhabc .el-form-item__label{
  width: 250px!important;
}
.zyhabc .el-form-item__content{
  margin-left: 250px !important;
  margin-right: 10px;
}
.zyhabc  .el-textarea__inner{
  height: 160px !important;
}
.zyhthx .el-form-item__label{
  width: 180px!important;
}
.zyhthx .el-form-item__content{
  margin-left: 180px !important;
  margin-right: 10px;
}
.zdcp  .el-form-item__label{
  width: 300px!important;
  margin-right: 30px !important;
}
.zdcp .el-form-item__content{
  margin-left: 331px !important;
}
.area81 .el-textarea__inner{
  height: 81px;
}
.shangxia {
  /*position: fixed;*/
  /*bottom: 0;*/
  margin: auto;
  width: 1000px;
}
.shangxia .el-form-item__content{
  margin: auto !important;
  width: 370px;
  text-align: center;
}
.subRight{
  right: 0;
  position: fixed;
  top: 250px;
  margin: auto;
}
.subRight .el-form-item__content{
  margin-left: 0 !important;
  /*margin: auto !important;*/
  /*width: 1100px;*/
  text-align: right;}
.mainForm .el-step.is-simple:not(:last-of-type) .el-step__title {
  max-width: 85%;
  word-break: break-all;
}
</style>
